<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ctrl_header.ascx.cs" Inherits="Controls_ctrl_header" %>

<div class="logoPos">
	<asp:HyperLink runat="server" ID="zapprLogo" NavigateUrl="~/default.aspx" 
		ImageUrl="~/App_Themes/Default/Images/ZapprLogoH45.png" />
</div>

<div class="headerLinksContainer">
	<div class="headerLinksLeftPublic">
		<asp:PlaceHolder runat="server" ID="plcTopmenuPublic" />
	</div>
	
	<div class="headerLinksLeft">
		<asp:PlaceHolder runat="server" ID="plcTopmenu" />
	</div>

	<div class="headerLinksRight">
		<asp:PlaceHolder runat="server" ID="plcUserLinks" Visible="false">
			<asp:Label runat="server" ID="lblUsertext" CssClass="headerLinks" Text="Logged in" />
			
			<br />
			
			<asp:HyperLink runat="server" ID="linkLogout" CssClass="headerLinks" 
				NavigateUrl="~/default.aspx?id=logout" Text="<% $Resources:Logout %>" />
			|
			<asp:HyperLink runat="server" ID="linkSettings" CssClass="headerLinks" 
				NavigateUrl="~/account/default.aspx" Text="<% $Resources:Account %>" />
			|
			<asp:HyperLink runat="server" ID="linkHelp" CssClass="headerLinks" 
				NavigateUrl="~/help.aspx" Text="<% $Resources:Help %>" />
		</asp:PlaceHolder>
		
		<asp:PlaceHolder runat="server" ID="plcSignupLinks" Visible="true">
			<asp:HyperLink runat="server" ID="HyperLink1" CssClass="headerLinks" 
				NavigateUrl="~/login.aspx" Text="<% $Resources:Login %>" />
			|
			<asp:HyperLink runat="server" ID="HyperLink2" CssClass="headerLinks" 
				NavigateUrl="~/login.aspx?id=signup" Text="<% $Resources:SignUp %>" />
		</asp:PlaceHolder>
		
		<br />
		
		<asp:PlaceHolder runat="server" ID="plcSearch">
			<asp:Panel runat="server" ID="panelSearch" CssClass="headerSearchRight">
				<asp:TextBox runat="server" ID="txtSearch" TextMode="SingleLine" CssClass="txtSearchSmall" />
				<asp:Button runat="server" ID="btnSearch" Text="<% $Resources:Search %>" 
					OnClick="btnSearch_Click" CssClass="btnSearchSmall" />
			</asp:Panel>
		</asp:PlaceHolder>
	</div>
</div>
